home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2007 December
/
PCWKCD1207B.iso
/
Blogowanie poza sfera
/
Flock 0.9.1.3 stable
/
flock-0.9.1.3.en-US.win32.exe
/
flock
/
res
/
detect
/
livejournal.xml
< prev
next >
Wrap
Extensible Markup Language
|
2007-10-12
|
3KB
|
101 lines
<?xml version="1.0" encoding="utf-8"?>
<service name="livejournal"
version="$Id: livejournal.xml 13478 2007-07-19 19:45:26Z chris $"
xmlns="http://www.flock.com/web-detective#">
<strings>
<string name="domains" value="livejournal.com"/>
<string name="homepage">
<![CDATA[http://www.livejournal.com/]]>
</string>
<string name="userlogin">
<![CDATA[http://www.livejournal.com/]]>
</string>
<string name="userprofile">
<![CDATA[http://%accountid%.livejournal.com/profile]]>
</string>
<string name="editprofile">
<![CDATA[http://www.livejournal.com/manage/profile/]]>
</string>
<string name="userblog">
<![CDATA[http://%accountid%.livejournal.com/]]>
</string>
<string name="userfriends">
<![CDATA[http://%accountid%.livejournal.com/friends]]>
</string>
<string name="userphotos">
<![CDATA[http://pics.livejournal.com/%accountid%]]>
</string>
<string name="userpics">
<![CDATA[http://www.livejournal.com/allpics.bml?user=%accountid%]]>
</string>
<string name="userfoaf">
<![CDATA[http://www.livejournal.com/users/%accountid%/data/foaf]]>
</string>
</strings>
<sessioncookies>
<cookie host=".livejournal.com" name="ljloggedin" path="/"/>
<cookie host=".livejournal.com" name="ljsession" path="/"/>
</sessioncookies>
<detect type="login">
<url domain="livejournal.com"/>
<form>
<field tagname="input" name="user" extractas="username"/>
<field tagname="input" name="password"/>
</form>
</detect>
<detect type="signup">
<url domain="livejournal.com"><path contains="create"/></url>
<form>
<field tagname="input" name="user" extractas="username"/>
<field tabname="input" name="password2" type="password" extractas="password"/>
</form>
</detect>
<detect type="loggedin">
<xpath><![CDATA[//form[@id="Greeting"][contains(@action,"logout")]]]></xpath>
</detect>
<detect type="loggedin">
<xpath><![CDATA[//div/div/div//div[@id="WelcomeLinks"]/a/text()[contains(.,"Logout")]]]></xpath>
</detect>
<detect type="loggedout">
<xpath><![CDATA[//form[@id="login"]]]></xpath>
</detect>
<detect type="loggedout">
<cookie nomatch="true" host=".livejournal.com" name="ljloggedin"/>
</detect>
<detect type="accountinfo">
<xpath>
<![CDATA[//form[@id="Greeting"][contains(@action,"logout")]//input[@name="user"]/@value]]>
<regexp re1="accountid"><![CDATA[/(.*)/]]></regexp>
</xpath>
</detect>
<detect type="accountinfo">
<conditions>
<xpath><![CDATA[//div/div/div//div[@id="WelcomeLinks"]/a/text()[contains(.,"Logout")]]]></xpath>
</conditions>
<results>
<regexp re1="accountid">
<![CDATA[/logout.bml\?user=([^&]+)&/]]>
</regexp>
</results>
</detect>
<detect type="person">
<url>
<regexp re1="friendrequest">
<![CDATA[/http...(\w+)/]]>
</regexp>
</url>
</detect>
</service>